package com.meituan.model;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


public class GoodsEntity {
    private int goodsId;
    private int shopId;
    private int classifyId;
    private String goodsName;
    private String monthSales;
    private String goodsImg;
    private Double goodsPrice;
    private String goodsCharacteristics;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date registerTime;
    private GoodsClassifyEntity goodsClassifyEntity;

    public String getMonthSales() {
        return monthSales;
    }

    public void setMonthSales(String monthSales) {
        this.monthSales = monthSales;
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public int getShopId() {
        return shopId;
    }

    public void setShopId(int shopId) {
        this.shopId = shopId;
    }

    public int getClassifyId() {
        return classifyId;
    }

    public void setClassifyId(int classifyId) {
        this.classifyId = classifyId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg;
    }

    public Double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(Double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public String getGoodsCharacteristics() {
        return goodsCharacteristics;
    }

    public void setGoodsCharacteristics(String goodsCharacteristics) {
        this.goodsCharacteristics = goodsCharacteristics;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public GoodsClassifyEntity getGoodsClassifyEntity() {
        return goodsClassifyEntity;
    }

    public void setGoodsClassifyEntity(GoodsClassifyEntity goodsClassifyEntity) {
        this.goodsClassifyEntity = goodsClassifyEntity;
    }
}
